package NowCoderHuaWei;

import java.util.Scanner;

public class Test07 {

	public static void main(String[] args) {
		Scanner in=new Scanner(System.in);
	    while(in.hasNext())
	        {
	        float f=in.nextFloat();
	        int i=(int)f;
	        if(f-i>=0.5)
	        	System.out.println(i+1);
	        else
	        	System.out.println(i);
	    }
	    in.close();
	}

}
